-
Notifications
You must be signed in to change notification settings - Fork 14
Feat/watch seq set #385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/watch seq set #385
Conversation
| && enable_sequencer_set_hash_monitor | ||
| && sequencer_set_monitor_start_cosmos_block.is_none() | ||
| { | ||
| return Err(anyhow::anyhow!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bail!.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching to bail, it returns an anyhow::Error, while the main function is typed to return Result<(), Box>, causing a type mismatch.
node/src/main.rs
Outdated
| } | ||
| })); | ||
|
|
||
| if enable_sequencer_set_hash_monitor && is_committee { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we define a new role, publisher? we use committee as the publisher currently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
64dd9a3 to
d840cb5
Compare
No description provided.